import styled from 'styled-components';

export const AppContainer = styled.div`
  height: 100%;
  box-sizing: border-box;
  position: relative;
`;

export const Header = styled.ul`
  width: 100%;
  position: sticky;
  top: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  padding: 24px 24px;
  height: 72px;
`;

interface HeaderLiType {
  active: boolean
}
export const HeaderLi = styled.li<HeaderLiType>`
  position: relative;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  font-weight: ${(props) => (props.active ? 'bolder' : 'normal')};
  &::after {
    content: "";
    display: ${(props) => (props.active ? 'block' : 'none')};
    /* font-weight: normal; */
    color: rgba(0,0,0,0.70);
    width: 20px;
    height: 3px;
    border-radius: 2px;
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: #f05053;
  }
`;

export const ContentContainer = styled.div`
  /* padding-top: 72px; */
  padding-left: 24px;
  padding-right: 24px;
`;

export default AppContainer;
